import type LoginData from "@/dto/LoginDto"
import request from "../utils/request"


export const logins=(obj:LoginData)=>{
   return  request({
        method:"post",
        url:"api/User/Logins",
        data:{account:obj.account,password:obj.password}
    })
}


//检查登录用户
export const checkLogin=()=>{
    return request({
    url:"api/User/CheckLogins",
    method:"get"
    })
}
